object frmDetalleSueldos: TfrmDetalleSueldos
  Left = 69
  Top = 79
  Width = 651
  Height = 423
  Caption = 'Detalle de sueldos: '
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'MS Sans Serif'
  Font.Style = []
  OldCreateOrder = False
  DesignSize = (
    641
    386)
  PixelsPerInch = 96
  TextHeight = 13
  object grdVarSueldos: TRxDBGrid
    Left = 7
    Top = 5
    Width = 627
    Height = 375
    Anchors = [akLeft, akTop, akRight, akBottom]
    DataSource = s
    Font.Charset = ANSI_CHARSET
    Font.Color = clWindowText
    Font.Height = -12
    Font.Name = 'Tahoma'
    Font.Style = []
    Options = [dgTitles, dgIndicator, dgColumnResize, dgColLines, dgRowLines, dgConfirmDelete, dgCancelOnExit, dgMultiSelect]
    ParentFont = False
    ReadOnly = True
    TabOrder = 0
    TitleFont.Charset = DEFAULT_CHARSET
    TitleFont.Color = clNavy
    TitleFont.Height = -11
    TitleFont.Name = 'MS Sans Serif'
    TitleFont.Style = [fsBold]
    OnTitleClick = grdVarSueldosTitleClick
    MultiSelect = True
    Columns = <
      item
        Expanded = False
        FieldName = 'FECHA'
        Title.Alignment = taCenter
        Width = 101
        Visible = True
      end
      item
        Expanded = False
        FieldName = 'CANTIDAD'
        Title.Alignment = taCenter
        Width = 83
        Visible = True
      end
      item
        Expanded = False
        FieldName = 'ENMANO'
        Title.Alignment = taCenter
        Width = 75
        Visible = True
      end
      item
        Expanded = False
        FieldName = 'CARGASOCIAL'
        Title.Alignment = taCenter
        Width = 81
        Visible = True
      end
      item
        Expanded = False
        FieldName = 'ADICIONAL'
        Title.Alignment = taCenter
        Width = 73
        Visible = True
      end
      item
        Expanded = False
        FieldName = 'TOTALENMANO'
        Title.Alignment = taCenter
        Width = 82
        Visible = True
      end
      item
        Expanded = False
        FieldName = 'TOTALGRAL'
        Title.Alignment = taCenter
        Width = 82
        Visible = True
      end>
  end
  object cds: TSQLClientDataSet
    CommandText = 
      'SELECT'#13#10'  PAGO_OPERARIO.ID_OPERARIO,'#13#10'  OPERARIO.APELLIDO||coale' +
      'sce('#39', '#39'||OPERARIO.NOMBRE, '#39#39') AS APENOM,'#13#10'  PAGO_OPERARIO.FECHA' +
      ','#13#10'  PAGO_OPERARIO.CANTIDAD,'#13#10'  PAGO_OPERARIO.ENMANO,'#13#10'  PAGO_OP' +
      'ERARIO.CARGASOCIAL,'#13#10'  PAGO_OPERARIO.ADICIONAL,'#13#10'  PAGO_OPERARIO' +
      '.CANTIDAD*PAGO_OPERARIO.ENMANO AS totalEnMano,'#13#10'  PAGO_OPERARIO.' +
      'CANTIDAD'#13#10'  *(PAGO_OPERARIO.ENMANO+PAGO_OPERARIO.CARGASOCIAL)'#13#10' ' +
      ' +PAGO_OPERARIO.ADICIONAL AS totalGral'#13#10'FROM'#13#10'  PAGO_OPERARIO'#13#10' ' +
      ' INNER JOIN OPERARIO ON (PAGO_OPERARIO.ID_OPERARIO = OPERARIO.ID' +
      '_OPERARIO)'#13#10'WHERE'#13#10'  PAGO_OPERARIO.ID_OPERARIO = :id AND'#13#10'  PAGO' +
      '_OPERARIO.FECHA >= :fechaIni AND'#13#10'  PAGO_OPERARIO.FECHA <= :fech' +
      'aFin'
    Aggregates = <>
    IndexFieldNames = 'FECHA'
    Options = [poAllowCommandText]
    ObjectView = True
    Params = <
      item
        DataType = ftString
        Name = 'id'
        ParamType = ptInput
        Value = '0'
      end
      item
        DataType = ftString
        Name = 'fechaIni'
        ParamType = ptInput
      end
      item
        DataType = ftString
        Name = 'fechaFin'
        ParamType = ptInput
      end>
    DBConnection = Datos.Con
    Left = 16
    Top = 320
    object cdsID_OPERARIO: TSmallintField
      FieldName = 'ID_OPERARIO'
      Required = True
    end
    object cdsFECHA: TSQLTimeStampField
      DisplayLabel = 'Fecha'
      FieldName = 'FECHA'
      Required = True
      EditMask = '!99/99/00;1;_'
    end
    object cdsCANTIDAD: TFloatField
      DisplayLabel = 'Cantidad hs.'
      FieldName = 'CANTIDAD'
      Required = True
      DisplayFormat = '#0.00'
    end
    object cdsENMANO: TFloatField
      DisplayLabel = 'En Mano'
      FieldName = 'ENMANO'
      Required = True
      DisplayFormat = '#0.00'
    end
    object cdsCARGASOCIAL: TFloatField
      DisplayLabel = 'Carga Social'
      FieldName = 'CARGASOCIAL'
      Required = True
      DisplayFormat = '#0.00'
    end
    object cdsADICIONAL: TFloatField
      DisplayLabel = 'Adicional'
      FieldName = 'ADICIONAL'
      DisplayFormat = '#0.00'
    end
    object cdsTOTALENMANO: TFloatField
      DisplayLabel = 'Tot. Mano'
      FieldName = 'TOTALENMANO'
      Required = True
      DisplayFormat = '#0.00'
    end
    object cdsTOTALGRAL: TFloatField
      DisplayLabel = 'Tot. Gral.'
      FieldName = 'TOTALGRAL'
      DisplayFormat = '#0.00'
    end
  end
  object s: TDataSource
    DataSet = cds
    Left = 48
    Top = 320
  end
end
